package com.example.sharesinfo.bean;

import com.example.sharesinfo.model.PositionModel;

import java.util.List;

public class PositionBean {

    /**
     * code : 200
     * SumMoney : 200038.0
     * ValidMoney : 199364.5
     * SumStockValue : 656.0
     * Today_Profit_or_Loss : 20.5
     * data : [{"Id":21,"StockName":"平安银行","StockCode":"000001","Profit_or_Loss_Value":"0.41","Profit_or_Loss_Ratio":"0.03%","StockNumber":50,"NowPrice":13.12}]
     */

    private int code;
    private double SumMoney;
    private double ValidMoney;
    private double SumStockValue;
    private double Today_Profit_or_Loss;
    private List<PositionModel> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public double getSumMoney() {
        return SumMoney;
    }

    public void setSumMoney(double SumMoney) {
        this.SumMoney = SumMoney;
    }

    public double getValidMoney() {
        return ValidMoney;
    }

    public void setValidMoney(double ValidMoney) {
        this.ValidMoney = ValidMoney;
    }

    public double getSumStockValue() {
        return SumStockValue;
    }

    public void setSumStockValue(double SumStockValue) {
        this.SumStockValue = SumStockValue;
    }

    public double getToday_Profit_or_Loss() {
        return Today_Profit_or_Loss;
    }

    public void setToday_Profit_or_Loss(double Today_Profit_or_Loss) {
        this.Today_Profit_or_Loss = Today_Profit_or_Loss;
    }

    public List<PositionModel> getData() {
        return data;
    }

    public void setData(List<PositionModel> data) {
        this.data = data;
    }

}
